<#include "../../common/commonattribute.html"/>
<script>
$(document).on('bjui.beforeCloseDialog', function(e) {
        $(".search-framecode").click();
    })
</script>
<div class="bjui-pageContent">

    <form action="${ctx}/frame/framecode/save" id="familyMemberDialog" data-no-check="true" name="familyForm"
          data-toggle="validate" data-alertmsg="false" data-isrefsh="false" data-callback="fmDialogClose"
          data-rule="required">
        <div style="margin:25px auto 0; width:500px;">

            <input type="hidden" name="id" value="${entity.id!}"/>
            <table width="100%"  class="table table-condensed table-hover">

                <tr>
                    <td class="right"><span style="color:red">*</span>编码</td>
                    <td class="left"><input type="text"  name="code" data-rule="required" value="${entity.code!}"></td>
                </tr>
                <tr>
                    <td class="right"><span style="color:red">*</span>代码名</td>
                    <td class="left"><input type="text" name="codeName" data-rule="required" value="${entity.codeName!}"></td>
                </tr>
                <tr>
                    <td class="right"><span style="color:red">*</span>是否启用</td>
                    <td> <input type="radio" name="isOpen"  data-toggle="icheck" value="true" data-label="是&nbsp;&nbsp;"  <#if entity.isOpen??&&entity.isOpen=="true">checked</#if>>
                        <input type="radio" name="isOpen" data-toggle="icheck" value="false" data-label="否"  <#if entity.isOpen??&&entity.isOpen=="false">checked</#if>></td>

                </tr>



            </table>

        </div>
    </form>

</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close">关闭</button></li>
        <li><button type="submit" class="btn-default">保存</button></li>
    </ul>
</div>